import fetch from "@/utils/fetch.js";

// 获取品牌名称列表
export function getBrandList(data) {
  return fetch({
    url: `/newRules/getBrandList`,
    method: "POST",
    data: data,
  });
}

// 获取调度案件列表
export function getStayTask(data) {
  return fetch({
    url: `/newRules/getStayTask`,
    method: "POST",
    data: data,
  });
}

// 获取调度记录
export function taskAssignHistory(data) {
  return fetch({
    url: `/newRules/taskAssignHistory`,
    method: "POST",
    data: data,
  });
}

// 获取组内人员
export function getGroupUser(data) {
  return fetch({
    url: `/newRules/getGroupUser`,
    method: "POST",
    data: data,
  });
}

// 获取二级机构
export function getNewOrganList(data) {
  return fetch({
    url: `/newRules/getNewOrganList`,
    method: "POST",
    data: data,
  });
}
